package com.ny.demo;

public class Test {
    public static void main(String[] args) {
        Student student = new Student();
        student.id= 1001;
        student.age=18;
        student.bangji="23级物联网2班";
        student.sex="男";
        student.name="小明";
        student.xinxi();
        System.out.println(student.id);
        System.out.println(student.sex);
        System.out.println(student.age);
        System.out.println(student.bangji);
        System.out.println(student.name);



    }
}

